<%@ taglib prefix="pager" uri="http://jsptags.com/tags/navigation/pager" %>
<!-- Pagination -->
<pager:pager items="${pager.numOfRecords}" maxPageItems="${pager.pageSize}" export="pageNumber">
    <pager:pages>
        <c:choose>
            <c:when test="${pageNumber eq pager.page}">
                ${pageNumber}
            </c:when>
            <c:otherwise>
                <a href="${pager.rootUrl}?page=${pageNumber}${pager.requestParameters}">${pageNumber}</a>
            </c:otherwise>
        </c:choose>
    </pager:pages>
</pager:pager>